/**
 * 加载后台运行时支持的css样式和js脚本
 * by Matrix-J 2015-12-1
 */
function getRootPath() {
	var curWwwPath = window.document.location.href;
	var pathName = window.document.location.pathname;
	return curWwwPath.substring(0, curWwwPath.indexOf(pathName))
			+ pathName.substring(0, pathName.substr(1).indexOf('/') + 1);
}
/** 全局路径，代表当前网站的根URL */
var basePath = getRootPath();

/*******************************************************************************
 * base style and script not change the file order
 ******************************************************************************/
document.write('<link href="' + basePath + '/resource/plugin/hui/css/H-ui.min.css" rel="stylesheet" type="text/css" />'
		+ '<link href="' + basePath + '/resource/plugin/hui/css/H-ui.admin.css" rel="stylesheet" type="text/css" />'
		+ '<link href="' + basePath + '/resource/plugin/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />' 
		+ '<link href="'+ basePath + '/resource/plugin/hui/lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css" />'
		
		+ '<script type="text/javascript" src="' + basePath + '/resource/plugin/hui/js/H-ui.js"  ></script>'
		+ '<script type="text/javascript" src="' + basePath + '/resource/plugin/hui/js/H-ui.admin.js"  ></script>'
		+ '<script type="text/javascript" src="' + basePath + '/resource/plugin/hui/lib/layer/layer.js"  ></script>'
		+ '<script type="text/javascript" src="' + basePath + '/resource/js/jquery.query.js"  ></script>'
		+ '<script type="text/javascript" src="' + basePath+ '/resource/plugin/hui/lib/Validform/5.3.2/Validform.min.js"></script>'
		
		+ '<script type="text/javascript" src="' + basePath + '/resource/js/systools/AjaxProxy.js" ></script>'
		+ '<script type="text/javascript" src="' + basePath + '/resource/js/systools/EXCommon.js" ></script>'
		+ '<script type="text/javascript" src="' + basePath + '/resource/js/systools/EXUI.js" ></script>'
		+ '<script type="text/javascript" src="' + basePath + '/resource/js/systools/EXUser.js" ></script>'
		+ '<script type="text/javascript" src="' + basePath + '/resource/js/systools/EXForm.js" ></script>'
		+ '<script type="text/javascript" src="' + basePath + '/resource/js/systools/EXGrid.js" ></script>');


